long inpos = 0L, outpos = 0L; /* file position trackers */
int writebuf(void);
void main(int argc, char *argv[])
{
unsigned short err = 0;
signed char ch;
if (argc != 3 && argc != 2) {
fputs("StripCR by Unicorn Research Corporation\nStrip CR characters from text files that use the CR+LF combination.\n\nUsage: StripCR infile [outfile]\n\nIf outfile is omitted, then infile will be replaced.\n", stdout);